<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 刘浩哲
  Date: 2022/11/27
  Time: 13:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../static/css/dist/css/bootstrap.min.css">
</head>
<body>

<div>
    <table class="table table-bordered">
        <tr>
            <td>编号</td>
            <td>商品名称</td>
            <td>副标题</td>
            <td>分类名称</td>
            <td>品牌描述</td>
            <td>商品图片</td>
            <td>商品描述信息</td>
            <td>包装清单</td>
            <td>售后服务</td>
            <td>是否下架</td>
            <td>创建时间</td>
            <td>修改时间</td>
            <td>修改</td>
        </tr>
        <c:forEach items="${requestScope.spu}" var="list">
            <tr>
                <td>${list.spu_id}</td>
                <td>${list.spu_Name}</td>
                <td>${list.title}</td>
                <td>${list.classify.class_Name}</td>
                <td>${list.brand.brand_Info}</td>
                <td><img src="../upload/${list.spuimg}" alt="" width="100px" height="50px"></td>
                <td>${list.spu_Info}</td>
                <td>${list.packing}</td>
                <td>${list.service}</td>
                <td>${list.takedown}</td>
                <td>${list.addTime}</td>
                <td>${list.updateTime}</td>
                <td><a class="btn btn-info" href="update.shtml?spuid=${list.spu_id}">编辑</a></td>
            </tr>
        </c:forEach>
    </table>
</div>
</body>


</html>
